package com.betterman.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fox
 * @since 2020-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Category对象", description="")
public class Category extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标题")
    private String name;

    @ApiModelProperty(value = "内容描述")
    private String content;

    private String summary;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "该分类的内容数量")
    private Integer postCount;

    @ApiModelProperty(value = "排序编码")
    private Integer orderNum;

    @ApiModelProperty(value = "父级分类的ID")
    private Long parentId;

    @ApiModelProperty(value = "SEO关键字")
    private String metaKeywords;

    @ApiModelProperty(value = "SEO描述内容")
    private String metaDescription;

    private Integer status;


}
